package com.smart.sso.server.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.smart.mvc.dao.mybatis.Dao;
import com.smart.mvc.model.Pagination;
import com.smart.sso.server.model.Group;

public interface GroupDao extends Dao<Group	, Integer> {
	public int enable(@Param("isEnable") Boolean isEnable, @Param("idList") List<Integer> idList);

	public List<Group> findPaginationByName(@Param("name") String name, @Param("isEnable") Boolean isEnable,
			@Param("pid") Integer pid , Pagination<Group> p);
			
	public List<Group> findByIds(@Param("idList") List<Integer> idList);		
}
